import { defHttp } from "@/utils/http";
import { baseUrlApi } from "./utils";

/** 出入库单列表查询带分页 */
export const getBoundPageList = <T>(data?: object) => {
  return defHttp.post<T>({
    url: baseUrlApi("/bound/pagelist"),
    data,
  });
};

/** 出入库明细查询 */
export const getBoundDetail = <T>(data?: object) => {
  return defHttp.post<T>({
    url: baseUrlApi("/bound/detail"),
    data,
  });
};
